<template>
    <lightning-card title="EventSimple" icon-name="standard:logging">
        <div class="slds-var-m-around_medium">
            <p
                class="slds-text-align_center slds-var-m-vertical_medium content"
            >
                Page {page}
            </p>
            <c-paginator
                class="slds-show slds-is-relative"
                onprevious={handlePrevious}
                onnext={handleNext}
            ></c-paginator>
        </div>

        <c-view-source source="lwc/eventSimple" slot="footer">
            Child-to-parent communication using a custom event.
        </c-view-source>
    </lightning-card>
</template>
